Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p-radio not checked when load json data in live server #70

Open
fawel11 opened this issue Apr 30, 2019 · 0 comments
Open

p-radio not checked when load json data in live server #70

fawel11 opened this issue Apr 30, 2019 · 0 comments

Comments

@fawel11
Copy link

fawel11 commented Apr 30, 2019

I am using v-form package:
Everything is fine in local but server.
Provided two images after load from back end (local and live server).
First time default value wise radio button is checked but when data comes from backen in server the data type changed 1 to "1" auto!
When i change "1" to 1 using vue tools , radio then check other wise none radio is checked!

live
local

<p-radio v-model.number="form.late_payment_status" :value="1" class="p-icon p-round" name="late_payment_status" color="success" > <i slot="extra" class="icon icon fa fa-check"></i> Yes </p-radio> <p-radio v-model.number="form.late_payment_status" :value="0" class="p-icon p-round" name="late_payment_status" color="success" > <i slot="extra" class="icon icon fa fa-check"></i> No </p-radio>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant