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

Error on Depend attrubute #80

Open
girishcp opened this issue Sep 16, 2020 · 11 comments
Open

Error on Depend attrubute #80

girishcp opened this issue Sep 16, 2020 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@girishcp
Copy link

@buttflattery

I have updated the latest version1.7.9 and i am getting the following error while using this one of my fields in the STEP_TYPE_TABULAR.

Setting unknown property: yii\bootstrap\ActiveField::depends

I have also tried with V1.6.17 and it doesn't show the error but it was not hiding the depend fields in the STEP_TYPE_TABULAR.

Please check this issue.

@buttflattery buttflattery self-assigned this Sep 16, 2020
@buttflattery buttflattery added the bug Something isn't working label Sep 16, 2020
@buttflattery
Copy link
Owner

hmmm, looks like another part missing @girishcp sorry about that will be fixed soon

@girishcp
Copy link
Author

@buttflattery
did you get a chance to look into this issue?

@buttflattery
Copy link
Owner

yeah i am working on both the fixes and will push fix for both of them soon @girishcp

@girishcp
Copy link
Author

@buttflattery Thanks

@girishcp
Copy link
Author

@buttflattery

I hope you are doing well.

Just point you one more issue, while you are working on the Depend attribute issue. Please check also applying to depend attribute in the multiple fields to the same tabular STEP because I am getting an error while applying the same.

Uncaught SyntaxError: redeclaration of let thenCallback_0

when I remove my second depend on an attribute from one of the fields then it starts working.

Thanks for your support

@buttflattery
Copy link
Owner

@girishcp alright i will look into it too this looks familiar and i think i had fixed it in the past too , dont know why is it ocurring for you again, will check it too

@girishcp
Copy link
Author

@buttflattery Any chance to resolve the "Depend" attribute issue.

@girishcp
Copy link
Author

@buttflattery
I hope you are doing well!
Can you please tell me, if you get a chance to update the wizard, actually I have a release in the coming days. Thank you

@girishcp
Copy link
Author

girishcp commented Oct 2, 2020

@buttflattery
I was just debugging the issue, when we click the "Add" button in the tabular form then it's adding the form twice and it's because of using the value "'toolbarPosition' => 'both',", if we set "bottom" or "top" as value then it works fine.

@buttflattery
Copy link
Owner

@girishcp yeah i have noticed that too , actually the change for the support of the default options wasnt that straight forward as I thought it would be and I am still figuring out the proper way to implement it and that is why havent pushed any more changes, sorry for the delay you had to face. Will be done by this weekend

@girishcp
Copy link
Author

@ZulfikriLbs Did you get time to check this issue as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants