我注意到这个非常好的带有 js 验证的输入框(在 azure.com 门户上),并且想知道如何为我的 Web 项目获得类似的输入框。
我注意到一些 fx-..... css 正在被应用,所以也许它是一些标准的 Lib 或框架?
<input id="manage-coadmin-email" class="fx-textbox fx-validation fx-editablecontrol fx-editablecontrol-edited fx-validation-required-valid fx-validation-length-valid fx-validation-regex-valid fx-validation-isValidCoAdminEmailAddress-valid fx-validation-valid fx-validation-deferred-valid" type="text" data-link="emailAddress" name="emailAddress" data-val="true" data-val-required="You must enter a value in the field." data-val-regex="The email address can contain only letters, numbers, periods, hyphens, and underscores. The address can contain only one at sign (@)." data-val-regex-pattern="^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@([a-zA-Z0-9_]+[a-zA-Z0-9_-]*\.)+[a-zA-Z]{2,63}$" data-val-length="Specify a value that is not longer than {0} characters." data-val-length-max="254" data-val-isvalidcoadminemailaddress="The co-administrator must sign in with a user account from an associated directory."></input>