Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
83372d1
ID:FPCO-17997; DONE: 80; HOURS:3; custom form onlycountry props set
ekata123 Sep 12, 2023
2146630
ID:FPCO-17997; DONE: 80; HOURS:3; custom form onlycountry props set
ekata123 Sep 12, 2023
92b783c
ID:FPCO-17997; DONE: 80; HOURS:3; custom form onlycountry props set
ekata123 Sep 13, 2023
8ab523e
ID:FPCO-17997; DONE: 80; HOURS:3; international changes
ekata123 Sep 22, 2023
3846107
ID:FPCO-17997; DONE: 80; HOURS:3; custom form
ekata123 Sep 27, 2023
2838b82
ID:FPCO-19801;DONE:100;HOURS:1;currency issue
ekata123 Oct 23, 2023
e37d866
ID:FPCO-19801;DONE:100;HOURS:1;currency issue
ekata123 Oct 23, 2023
a5a1340
ID:FPCO-19801;DONE:100;HOURS:1;currency issue
ekata123 Oct 23, 2023
dc0c5d7
ID:FPCO-19801;DONE:100;HOURS:1;currency issue
ekata123 Oct 23, 2023
e6c6a03
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 25, 2023
e3d901b
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 25, 2023
7b30492
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 25, 2023
4ed1455
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 25, 2023
2b077a6
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 26, 2023
d9adfe5
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 26, 2023
07ed3d2
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 26, 2023
5521966
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 26, 2023
4dadc94
ID:FPCO-19801;DONE:100;HOURS:1;
ekata123 Oct 26, 2023
3b0ee3d
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
0c615a1
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
a5bfa63
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
a8436ff
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
ef39a15
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
7e1bbb5
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
3caeca4
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
681e0db
ID:FPCO-23360;DONE:100;HOURS:1;
ekata123 Nov 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
316 changes: 162 additions & 154 deletions dist/nitrozen.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.css

Large diffs are not rendered by default.

316 changes: 162 additions & 154 deletions dist/nitrozen.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/nitrozen.umd.min.js.map

Large diffs are not rendered by default.

162 changes: 108 additions & 54 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion src/components/NCustomForm/NCustomFormInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,17 @@
class="n-input mobile-input"
disabledFormatting
enabledCountryCode
:onlyCountries="['IN']"
:onlyCountries="input.onlyCountries || []"
:required="input.required"
autocomplete="off"
mode="international"
:placeholder="input.placeholder"
v-model="formInputValue.number"
@input="inputChanged"
@country-changed="countryCodeChange"
@blur="willMoveToNext"
:disabled="input.disabled"
@validate="validateMobileInput"
></vue-tel-input>
</template>
<template
Expand Down Expand Up @@ -212,10 +214,16 @@ export default {
},
},
methods: {
validateMobileInput(phoneObj){
this.formInputValue.valid=phoneObj.isValid
},
validateInput,
titleFor(input) {
return input.display + (input.required ? " *" : "");
},
countryCodeChange(value){
this.formInputValue.code=value.dialCode
},
inputChanged() {
this.errorMessage = null
this.$emit("change", this.formInputValue);
Expand Down
2 changes: 1 addition & 1 deletion src/components/NCustomForm/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function defaultResponseForInput(input) {
return input.default;
}
return {
code: 91,
code: '',
number: ""
};
case InputTypes.toggle.key:
Expand Down