@micromerce/formbuilder-react 1.0.1014 → 1.0.1015
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,7 +15,9 @@ export declare const isCheckedSubtype: (customAttributes: unknown) => boolean;
|
|
|
15
15
|
* A failing value is not this control's business: the submit goes to the server, which refuses it and
|
|
16
16
|
* sends the reason, localized, back to the field (like every other field error). The editor never
|
|
17
17
|
* blocks a submit, so it can never be stricter than the server. The input keeps its `type` and gets
|
|
18
|
-
*
|
|
18
|
+
* no `pattern` here: FormBuilder runs checkValidity() before every submit, so a pattern would make the
|
|
19
|
+
* editor block values the server accepts. The pattern is for the server-rendered HTML form (README,
|
|
20
|
+
* "HTML compatibility").
|
|
19
21
|
*/
|
|
20
22
|
declare const SubtypeInput: (props: InputProps) => React.JSX.Element;
|
|
21
23
|
export default SubtypeInput;
|