|
|
|
@ -301,7 +301,6 @@ public class DynamicFormsModel : PageModel |
|
|
|
MyAttributeExamplesModel = new AttributeExamplesModel(); |
|
|
|
MyAttributeExamplesModel.DisabledInput = "Disabled Input"; |
|
|
|
MyAttributeExamplesModel.ReadonlyInput = "Readonly Input"; |
|
|
|
MyAttributeExamplesModel.ReadonlyPlainTextInput = "Readonly Plain Text Input"; |
|
|
|
MyAttributeExamplesModel.LargeInput = "Large Input"; |
|
|
|
MyAttributeExamplesModel.SmallInput = "Small Input"; |
|
|
|
} |
|
|
|
@ -317,9 +316,6 @@ public class DynamicFormsModel : PageModel |
|
|
|
[ReadOnlyInput] |
|
|
|
public string ReadonlyInput { get; set; } |
|
|
|
|
|
|
|
[ReadOnlyInput(PlainText = true)] |
|
|
|
public string ReadonlyPlainTextInput { get; set; } |
|
|
|
|
|
|
|
[FormControlSize(AbpFormControlSize.Large)] |
|
|
|
public string LargeInput { get; set; } |
|
|
|
|
|
|
|
@ -350,11 +346,6 @@ public class DynamicFormsModel : PageModel |
|
|
|
<input type="text" id="MyAttributeExamplesModel_ReadonlyInput" name="MyAttributeExamplesModel.ReadonlyInput" value="Readonly Input" class="form-control " readonly=""> |
|
|
|
<span class="text-danger field-validation-valid" data-valmsg-for="MyAttributeExamplesModel.ReadonlyInput" data-valmsg-replace="true"></span> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label for="MyAttributeExamplesModel_ReadonlyPlainTextInput">ReadonlyPlainTextInput</label> |
|
|
|
<input type="text" id="MyAttributeExamplesModel_ReadonlyPlainTextInput" name="MyAttributeExamplesModel.ReadonlyPlainTextInput" value="Readonly Plain Text Input" class="form-control-plaintext " readonly=""> |
|
|
|
<span class="text-danger field-validation-valid" data-valmsg-for="MyAttributeExamplesModel.ReadonlyPlainTextInput" data-valmsg-replace="true"></span> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label for="MyAttributeExamplesModel_LargeInput">LargeInput</label> |
|
|
|
<input type="text" id="MyAttributeExamplesModel_LargeInput" name="MyAttributeExamplesModel.LargeInput" value="Large Input" class="form-control form-control-lg"> |
|
|
|
|