@progressive-development/pd-forms 0.2.12 → 0.2.14
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.
- package/package.json +1 -1
- package/src/PdFormContainer.js +2 -2
package/package.json
CHANGED
package/src/PdFormContainer.js
CHANGED
|
@@ -48,7 +48,7 @@ export class PdFormContainer extends PdBaseUI {
|
|
|
48
48
|
-moz-border-radius: var(--pd-border-radius, 0);
|
|
49
49
|
width:70%;
|
|
50
50
|
max-width:780px;
|
|
51
|
-
min-width:
|
|
51
|
+
min-width:200px;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.filled {
|
|
@@ -182,7 +182,7 @@ export class PdFormContainer extends PdBaseUI {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
static _vatIsValid(vat) {
|
|
185
|
-
const mValid = /^
|
|
185
|
+
const mValid = /^[A-Z]{2}[0-9]{8,12}$/.test(vat);
|
|
186
186
|
return mValid;
|
|
187
187
|
}
|
|
188
188
|
|