-
Notifications
You must be signed in to change notification settings - Fork 43
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
Hide a couple of unused fields, clear some placeholder labels. #33
Hide a couple of unused fields, clear some placeholder labels. #33
Conversation
Does the parent form no longer enforce those urls to be populated? |
Seems so. I had no issues creating and saving a processor with URL fields left blank. |
Ok - I'll take your word for it! |
I'm thinking (separate PR) I might add some processor-specific CSS to hide unused fields. |
for the extension or core? sounds core? |
A core fix would be to replicate the behaviour in .mgd so that any field is hidden if label is NULL (that's how things work right now I believe); then Omnipay can set URL_X=null for certain processors, and hide the field. That's probably ideal. If it's some processors only (and I only know about certain processors), the fix belongs in the relevant processor. So there are two ways we can slice that salad I guess. |
I think I'm with you - so core hides fields with labels - but maybe not the url ones? & the change in the Mgd is to ensure the metadata is declared correctly for core to do that? |
AFAICT / from memory
Fixing those would be nice! I'll be sure to let you know if I get a chance to. This is just banter, not a request 😜 |
Ok so to summarise - there are some things that core may or may not do correctly & it would be good to fix them & then implement required changes to the extension :-) |
Doesn't seem like the URLs need to be populated (no issues creating and saving a processor with them blank) so no point in filling them with http://unused.com (currently a page about Pokemon?).