-
Notifications
You must be signed in to change notification settings - Fork 108
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
Feature/form #29
Feature/form #29
Conversation
if ($this->rightIcon && !is_object($this->rightIcon)) { | ||
$this->rightIcon = $this->add(new Icon($this->rightIcon), 'Content'); | ||
|
||
if ($this->content) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is $this->icon or $this->rightIcon is already an object? Shouldn't we execute this part of code in such case too? (add class labeled, remove content etc.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's currently incosistent in the project but i've addressed that in the next PR, but i'm not fully sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, then merging this in.
(includes #28), on-going work for implementing Form. Because of how extensive the functionality of Form is, there might be multiple phases for Form implementation, i'll try to keep it structured though.
Further work is done in feature/form2 branch: