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

Can we use the native [readonly] attribute instead of a new Component Input? #127

Open
robertsoniv opened this issue Aug 9, 2018 · 1 comment

Comments

@robertsoniv
Copy link
Contributor

robertsoniv commented Aug 9, 2018

Once again, just browsing around (still on LineItemCard). Wouldn't it be just as effective to use the native readonly attribute in this scenario?

That being said, there may be others out there... I haven't done a search yet.

@oliverheywood451
Copy link
Contributor

Hey Rob, psyched that you're looking at the base app. Here we're trying to control whether the component is for display only (readonly). If its false you can do stuff like change quantity or delete lineitem.

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

2 participants