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

No placeholder parsing #9

Open
nilsgraustins opened this issue Aug 18, 2018 · 5 comments
Open

No placeholder parsing #9

nilsgraustins opened this issue Aug 18, 2018 · 5 comments

Comments

@nilsgraustins
Copy link

$end .= $val['placeholder'] ? ' placeholder="'.$val['placeholder'].'"' : '';

@itsalb3rt
Copy link

Great!

@luisantoniome
Copy link

Hello. I can't get the placeholder working, could you help me, please? How or where do I need to put that code @nilsgraustins @itsalb3rt ? Thank you in advance.

@itsalb3rt
Copy link

itsalb3rt commented Nov 5, 2018

@luisantoniome check in line 354 (or minus) this fragment

default :
$element = 'input';
$end .= ' type="' . $val['type'] . '" value="' . $val['value'] . '"';
$end .= $val['checked'] ? ' checked' : '';
$end .= $val['placeholder'] ? ' placeholder="'.$val['placeholder'].'"' : ''; // Copy this line
$end .= $this->field_close();
break;

@luisantoniome
Copy link

Got it, big thanks, @itsalb3rt !

@robvimudesignwp
Copy link

@luisantoniome check in line 354 (or minus) this fragment

default :
$element = 'input';
$end .= ' type="' . $val['type'] . '" value="' . $val['value'] . '"';
$end .= $val['checked'] ? ' checked' : '';
$end .= $val['placeholder'] ? ' placeholder="'.$val['placeholder'].'"' : ''; // Copy this line
$end .= $this->field_close();
break;

Thanks bro!..

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

4 participants