Refactor #3965 - For AutoComplete & Dropdown
parent
7e7d87335f
commit
b2106de80b
|
@ -61,6 +61,9 @@ export default {
|
|||
return this.getPTValue(obj, key, params);
|
||||
},
|
||||
cx(key = '', params = {}) {
|
||||
console.log(key);
|
||||
console.log(!this.isUnstyled ? this.getOptionValue(this.$options.css && this.$options.css.classes, key, { instance: this, props: this.$props, state: this.$data, ...params }) : undefined);
|
||||
|
||||
return !this.isUnstyled ? this.getOptionValue(this.$options.css && this.$options.css.classes, key, { instance: this, props: this.$props, state: this.$data, ...params }) : undefined;
|
||||
},
|
||||
cxo(obj = {}, key = '', params = {}) {
|
||||
|
|
|
@ -97,7 +97,7 @@ input.p-dropdown-label {
|
|||
`;
|
||||
|
||||
const inlineStyles = {
|
||||
root: { position: 'relative' }
|
||||
root: ({ props }) => ({ position: props.appendTo === 'self' ? 'relative' : undefined })
|
||||
};
|
||||
|
||||
const classes = {
|
||||
|
|
Loading…
Reference in New Issue